
package com.nancy.ioc.BeanFactoryPostProcessor.importtest;

import org.springframework.context.annotation.DeferredImportSelector;
import org.springframework.core.annotation.Order;
import org.springframework.core.type.AnnotationMetadata;


@Order(101)
public class MyDeferredImportSelector2 implements DeferredImportSelector {

    @Override
    public String[] selectImports(AnnotationMetadata importingClassMetadata) {
        System.out.println("MyDeferredImportSelector2被加载");
        return new String[]{MyDeferredConfiguration2.class.getName()};
    }
}
